package com.tsj.spzx.client.feign;

import com.tsj.spzx.model.entity.user.UserAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-user")
public interface UserAddressFeignClient {
    @GetMapping("/api/user/userAddress/getAddressById/{id}")
    public UserAddress getAddressById(@PathVariable("id") Long id);
}
